From 70cf23a72956ec49c10867724b249bdcdee98d4f Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Wed, 18 Jan 2012 16:10:20 -0500 Subject: [PATCH] notebook: don't force ACTIVE state flag on the label for active tab This is just wrong, since it's not the tab label being active, but the tab itself. --- gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 32cdee71ee..62a8535137 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -6508,10 +6508,12 @@ gtk_notebook_update_tab_states (GtkNotebook *notebook) { GtkRegionFlags current_flags; + /* if (page == priv->cur_page) gtk_widget_set_state_flags (page->tab_label, GTK_STATE_FLAG_ACTIVE, FALSE); else gtk_widget_unset_state_flags (page->tab_label, GTK_STATE_FLAG_ACTIVE); + */ /* FIXME: We should store these flags somewhere instead of poking * the widget's path */ -- 2.30.2